package cn.jiyun.service;


import cn.jiyun.entity.ChatMessage;

import java.util.List;
/**
 * @author admin
 */
public interface PushService {
    /**
     * 推送消息给客户
     *
     * @param message
     * @param userId
     */
    void pushUser(String message, String userId);
    /**
     * 推送消息给多个客户
     *
     * @param message
     * @param userIdList
     */
    void pushUser(String message, List<String> userIdList);
    /**
     * 推送消息给客户
     *
     * @param chatMessage
     */
    void pushChatMessage(ChatMessage chatMessage);
}
